######################## sysctl variables ######################## Sysctl interface **************** sysctl variables value types ============================ There are 3 sysctl types: - using integer value Example: .. code-block:: none sysctl set mbuf linux 16384 - using boolean value (true - 1 / false - 0) Example: .. code-block:: none sysctl set flow_acct_dropped_pkts 1 - using string value Example: .. code-block:: none sysctl set system_name "tr1" .. note:: For string variables, it is necessary to use quotation marks in the ``"value"`` parameter. sysctl set ========== ``sysctl set`` sets a sysctl variable value. .. code-block:: none sysctl set For string variables: .. code-block:: none sysctl set "" **Description** =========== =============================================== Item Description =========== =============================================== name sysctl variable name value sysctl variable value =========== =============================================== sysctl get ========== ``sysctl get`` displays a sysctl variable value. .. code-block:: none sysctl get For string variables: .. code-block:: none sysctl get "" **Description** =========== =============================================== Item Description =========== =============================================== name sysctl variable name value sysctl variable value =========== =============================================== systcl variables ================ +-------------------+---------+------------------------------------------------+-------------------+ | Variable name || Type | Desciption | Value | | || Scope | | | +-------------------+---------+------------------------------------------------+-------------------+ | system_name || String | | | | || Runtime| | | +-------------------+---------+------------------------------------------------+-------------------+ | pppoe_template_acl|| String | | | | || Runtime| | | +-------------------+---------+------------------------------------------------+-------------------+ | mac_addr_format || String | | | | || Runtime| | | +-------------------+---------+------------------------------------------------+-------------------+ | ipoe_subsc_passwd || String | | | | || Runtime| | | +-------------------+-+-------+-+----------------------------------------------+-------------------+ | nat_max_nb_ext_sess || Integer| || Default | | || Startup| || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+-+-------+-+----------------------------------------------+-------------------+ | hcar32_max || Integer| || Default | | || Startup| || Min = 64 | | || | || Max = UINT32_MAX | +-------------------+---------+------------------------------------------------+-------------------+ | det_nat_gc_step || Integer| || Default | | || Runtime| || Min = 1000 | | || | || Max = UINT32_MAX | +-------------------+------+--+------+-----------------------------------------+-------------------+ | nat_portmap_initial_size || Integer| || Default | | || Startup| || Min = 256 | | || | || Max = UINT32_MAX | +-----------------------+--+------+--+-----------------------------------------+-------------------+ | qos_sch_vif_pool_size || Integer| || Default | | || Startup| || Min = 0 | | || | || Max = UINT32_MAX | +-------------------+---+------+--+--------------------------------------------+-------------------+ | netflow_src_id || Integer | || Default | | || Startup | || Min = 1 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | arp_cache_size || Integer | || Default | | || Startup | || Min = 0 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | vif_max || Integer | || Default | | || Startup | || Min = 256 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | subsc_vif_max || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | ip_routes_max || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------++---------++----------------------------------------------+-------------------+ | ip_route_tables_max|| Integer | || Default | | || Startup | || Min = 16 | | || | || Max = 65536 | +-------------------++---------++----------------------------------------------+-------------------+ | vif_ip_addrs_max || Integer | || Default | | || Startup | || Min = 16 | | || | || Max = 65536 | +-------------------+----------+-----------------------------------------------+-------------------+ | kni_max || Integer | || Default | | || Startup | || Min = 16 | | || | || Max = 65536 | +-------------------+----------+-----------------------------------------------+-------------------+ | num_rx_desc || Integer | || Default | | || Startup | || Min = 16 | | || | || Max = UINT16_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | num_tx_desc || Integer | || Default | | || Startup | || Min = 16 | | || | || Max = UINT16_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | num_cplane_timers || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | num_worker_timers || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | packet_socket_max || Integer | || Default | | || Startup | || Min = 64 | | || | || Max = UINT32_MAX | +-------------------+----------++----------+-----------------------------------+-------------------+ | packet_socket_input_ring_size || Integer | || Default | | || Startup | || Min = 64 | | || | || Max = UINT32_MAX | +-------------------------------+----------+-----------------------------------+-------------------+ | packet_socket_output_ring_size|| Integer | || Default | | || Startup | || Min = 64 | | || | || Max = UINT32_MAX | +---------------------+---------++---------+-----------------------------------+-------------------+ | dynamic_vif_auth_num|| Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +---------------------+-+--------+-+-------------------------------------------+-------------------+ | cplane_channels_length|| Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+---+------+---+-------------------------------------------+-------------------+ | fib_next_hops_max || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | mbuf || Integer | || Default | | || Startup | || Min = 4096 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | cmbuf || Integer | || Default | | || Startup | || Min = 4096 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | frag_mbuf || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | flow_ipv4_max || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+-+--------+-+---------------------------------------------+-------------------+ | flow_ipv4_worker_max|| Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+-+--------+-+---------------------------------------------+-------------------+ | nd_retrans_timer || Integer | || ms | | || Runtime | || Default | | || | || Min = 100 | | || | || Max = 10*60*60 | | || | || (10 min) | +-------------------+--+-------+--+--------------------------------------------+-------------------+ | fib6_max_route_tables|| Integer | || Default | | || Startup | || Min = 2 | | || | || Max = 56 | +-------------------+--+-------+--+--------------------------------------------+-------------------+ | fib6_max_routes || Integer | || Default | | || Startup | || Min = 2 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | fib6_max_next_hops|| Integer | || Default | | || Startup | || Min = 2 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | fib6_max_lpm_tbl8 || Integer | || Default | | || Startup | || Min = 2 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | flow_ipv6_max || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------++---------++----------------------------------------------+-------------------+ |flow_ipv6_worker_max|| Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +--------------------+--+-------+--+-------------------------------------------+-------------------+ |prefix_map_max_prefixes|| Integer | || Default | | || Runtime | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+---+------+---+-------------------------------------------+-------------------+ | car64_max || Integer | || Default | | || Startup | || Min = 32 | | || | || Max = UINT32_MAX | +-------------------++---------++----------------------------------------------+-------------------+ |ipv6_pool_cache_size|| Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------++---------++----------------------------------------------+-------------------+ | hcar_1l_max || Integer | || Default | | || Startup | || Min = 1024 | | || | || Max = UINT32_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | rps_queue_size || Integer | || Default | | || Startup | || Min = 512 | | || | || Max = 8192 | +-------------------+----------+-----------------------------------------------+-------------------+ | arp_cache_timeout || Integer | || sec | | || Runtime | || Default | | || | || Min = 10 | | || | || Max = 14400 | +-------------------+----------+-----------------------------------------------+-------------------+ | dynamic_vif_ttl || Integer | || sec | | || Runtime | || Default | | || | || Min = 10 | | || | || Max = 14400 | +-------------------+----------+-----------------------------------------------+-------------------+ |radius_max_sessions|| Integer | || Default | | || Runtime | || Min = 64 | | || | || Max = UINT16_MAX | +-------------------+----------+-----------------------------------------------+-------------------+ | lpm_table8_size || Integer | || Default | | || Startup | || Min = 256 | | || | || Max = UINT16_MAX | +-------------------+----+-----+---+-------------------------------------------+-------------------+ |fpm_route_table_map_size|| Integer| || Default | | || Startup| || Min = 16 | | || | || Max = UINT16_MAX | +------------------------+---+-----+---+---------------------------------------+-------------------+ |max_num_solicited_node_addrs|| Integer| || Default | | || Startup| || Min = 1024 | | || | || Max = UINT16_MAX | +----------------------------+---------+---------------------------------------+-------------------+ |nd_neighbor_cache_entry_ttl || Integer| || sec | | || Runtime| || Default = 600 | | || | || Min = 10 | | || | || Max = UINT16_MAX | +----------------------------+-----+---+-----+---------------------------------+-------------------+ |nd_neighbor_cache_flush_queue_time|| Integer| || milliseconds | | || Runtime| || Default = 2000 | | || | || Min = 1000 | | || | || Max = 65000 | +----------------------+---------+-+---------+---------------------------------+-------------------+ |nd_worker_nc_entry_ttl|| Integer| || sec | | || Runtime| || Default = | | || | || Min = 1 | | || | || Max = UINT16_MAX | +----------------------+---------+---------------------------------------------+-------------------+ | icmp6_packet_rate || Integer| || packets per sec | | || Startup| || Default = | | || | || Min = 1 | | || | || Max = UINT16_MAX | +----------------------+-+-------+-+-------------------------------------------+-------------------+ |icmp6_transmission_burst|| Integer| || Default = | | || Startup| || Min = 1 | | || | || Max = UINT16_MAX | +------------------------+-----+---+-----+-------------------------------------+-------------------+ |qos_scheduler_worker_ring_size|| Integer| || Default = | | || Startup| || Min = 32 | | || | || Max = 4096 | +-----------------------+------+--+------+-------------------------------------+-------------------+ |pppoe_max_verbose_subsc|| Integer| || Default = | | || Startup| || Min = 0 | | || | || Max = UINT16_MAX | +---------------------+-+-------+-+--------------------------------------------+-------------------+ |l2_ptp_sw_fdb_size || Integer| || Default = | | || Startup| || Min = 16 | | || | || Max = UINT16_MAX | +---------------------++--------++---------------------------------------------+-------------------+ |ip_lease_db_save_delay|| Integer| || Default = | | || Runtime| || Min = 10 | | || | || Max = UINT16_MAX | +----------------------++--------+---------------------------------------------+-------------------+ | nat_max_maps || Integer| || Default = | | || Startup| || Min = 16 | | || | || Max = 4096 | +----------------------+---------+---------------------------------------------+-------------------+ |ipoe_unuthorized_ttl || Integer| || sec | | || Runtime| || Default = | | || | || Min = 60 | | || | || Max = 60 * 60 * 4| +----------------------+---+-----+---+-----------------------------------------+-------------------+ |max_rtr_solicitation_delay|| Integer| || sec | | || Runtime| || Default = | | || | || Min = 1 | | || | || Max = 255 | +----------------------+---+-----+---+-----------------------------------------+-------------------+ | dad_attempts || Integer| || Default = | | || Runtime| || Min = 0 | | || | || Max = 255 | +----------------------+---------+---------------------------------------------+-------------------+ | icmp6_num_buckets || Integer| || Default = | | || Starup | || Min = 1 | | || | || Max = 255 | +----------------------+---------+---------------------------------------------+-------------------+ | icmp_num_buckets || Integer| || Default = | | || Starup | || Min = 1 | | || | || Max = 255 | +----------------------+---------+---------------------------------------------+-------------------+ |car_red_ebs_multuplier|| Integer| || Default = | | || Runtime| || Min = 2 | | || | || Max = 32 | +----------------------+---------+---------------------------------------------+-------------------+ | linux_route_proto || Integer| || Default = | | || Runtime| || Min = 2 | | || | || Max = 4 | +----------------------+------+--+------+--------------------------------------+-------------------+ |nd_neighbor_cache_bucket_size|| Integer| || Default = | | || Startup| || Min = 5 | | || | || Max = 128 | +-----------------------------+----+----+----+---------------------------------+-------------------+ |det_nat_sess_tbl_debug_log_enabled|| Integer| || Default = | | || Runtime| || Min = 0 | | || | || Max = 1 | +----------------------------------+---------+---------------------------------+-------------------+